package com.ncloud.chnl.common;

public class Constant {
	
	/***********************通用状态编码******************/
	public static final String CHNL_COMMON_STATE_NORMAL ="1"; // 1-有效 0-无效
	public static final String CHNL_COMMON_STATE_DELETE ="0";
	/***********************渠道保证金状态******************/
	
	/***********************渠道保证金状态******************/
	public static final String CHNL_DEPOSIT_STATE_NORMAL ="1"; // 1-有效 0-无效
	public static final String CHNL_DEPOSIT_STATE_DELETE ="0";
	/***********************渠道保证金状态******************/
	
	public static enum DepositAction {
		payDeposit("1","payDeposit"), // 充保证金
		adjustCredit("2","adjustCredit"), //调整授信额度
		preAbate("3","preAbate"), // 受理业务预扣
		billAbate("4","billAbate") //出账实扣
	    ;
	    /*枚举值*/

		DepositAction(String value, String code) {
	        this.code = code;
	        this.value = value;
	    }

	    private String code;
	    private String value;

	    public String getCode() {
	        return code;
	    }

	    public void setCode(String code) {
	        this.code = code;
	    }

	    public String getValue() {
	        return value;
	    }

	    public void setValue(String value) {
	        this.value = value;
	    }
	}
	
	
	/*********************客户区域参数配置**************************************/
	public static final String CUST_AREA_NODE_STATE_NORMAL ="1"; // 1-有效 0-无效
	public static final String CUST_AREA_NODE_STATE_DELETE ="0";
	public static final String CUST_AREA_USER_IS_UNMANAGER = "0";
	public static final String CUST_AREA_USER_IS_MANAGER = "1";
}
